// import path from "path";

const baseSetting = {
  timeout: 20000,
  withCredentials: true
};
const BASE_URL = `http://${process.env.REACT_APP_API_HOST ||
  "210.12.224.197"}:${process.env.REACT_APP_PORT || "8080"}/`;

export default {
  /* axios: {
    BASE_URL,
    httpApiSettings: {
      baseURL: `${BASE_URL}api`,
      ...baseSetting
    },
    httpCommonSettings: {
      baseURL: `${BASE_URL}`,
      ...baseSetting
    }
  },
  business: path.resolve("../business"),
  plugin: path.resolve("../plugin") */
  BASE_URL,
  httpApiSettings: {
    baseURL: `${BASE_URL}api`,
    ...baseSetting
  },
  httpCommonSettings: {
    baseURL: `${BASE_URL}api`,
    ...baseSetting
  }
};
